package com.sdp.wx.db.wx_repair_vehicle_wz.service;

import com.sdp.wx.db.wx_repair_vehicle.entity.WxRepairVehicle;
import com.sdp.wx.db.wx_repair_vehicle_wz.entity.WxRepairVehicleWz;
import com.sdp.wx.view.WxRepairMustWzView;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zsp
 * @since 2024-01-19
 */
public interface IWxRepairVehicleWzService extends IService<WxRepairVehicleWz> {

	List<WxRepairVehicleWz> queryWxRepairVehicleWzByRepairCode(String repairCode);
	
	int queryWxRepairVehicleWzCountByRepairCode(String repairCode);
	
	/**
	 * 添加必换件
	 * @param mustWzList
	 * @param repairVehicle
	 */
	void addMustRepairVehicleWz(List<WxRepairMustWzView> mustWzList,WxRepairVehicle repairVehicle);
}
